#include "imitatorwidget.h"

ImitatorWidget::ImitatorWidget(QWidget *imitates, QWidget *parent) :
    QWidget(parent)
{
    m_imitated = imitates;
    this->setGeometry(imitates->geometry());
    this->setSizeIncrement(m_imitated->sizeIncrement());
    this->setSizePolicy(m_imitated->sizePolicy());
    this->setMaximumSize(m_imitated->maximumSize());
    this->setMinimumSize(m_imitated->minimumSize());
    this->setBaseSize(m_imitated->baseSize());
}
